#ifndef CART_ITEM_H_
#define CART_ITEM_H_

#include <string>
using namespace std;


struct Cart_item {
public:
	// constructors
	Cart_item () {}
	Cart_item (int a, int b, int c, int d) : cart_item_id(a), cart_id(b), prod_id(c), prod_qty(d) {}  //AO A2
   // utility functions
	string display() const;
	int get_prod_id() const{		//CR S1
		return prod_id;				//CR S1
	}								//CR S1

	int get_quantity() const{			//CR S1
		return prod_qty;				//CR S1
	}									//CR S1

private:
   //constants  

   // private data
	int cart_item_id;
	int cart_id;
	int prod_id;
	int prod_qty;
};


#endif //CART_ITEM_H_
